package com.jcc.springcloud.result;

import lombok.*;

/**
 * @author tansheng
 * @create 2020/10/23
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
public class CommonResult<T> {
    private Integer code;
    private String message;
    private T data;

    public CommonResult(Integer code,String message){
        this(code,message,null);
    }


}
